package org.lex.swing.util;

import java.awt.BorderLayout;
import java.awt.Component;

import javax.swing.Box;
import javax.swing.JPanel;

public class CenterSouthPane extends JPanel {
	public CenterSouthPane(Component center, Component south) {
		super(new BorderLayout(0, 0));
		this.add(center, BorderLayout.CENTER);
		this.add(south, BorderLayout.SOUTH);
		this.add(Box.createVerticalStrut(12), BorderLayout.NORTH);
		this.add(Box.createHorizontalStrut(12), BorderLayout.WEST);
		this.add(Box.createHorizontalStrut(11), BorderLayout.EAST);
	}
}
